
package com.idealighter.game.rank.handler;

import com.google.inject.Inject;

import com.idealighter.game.core.annotation.ReqMsgHandler;
import com.idealighter.game.message.ModuleMsgIdConstant;
import com.idealighter.game.message.core.ReqMessage;
import com.idealighter.game.message.core.ResMessage;
import com.idealighter.game.player.struct.Player;
import com.idealighter.game.rank.manager.RankMgr;
import com.idealighter.game.server.handler.ReqMessageHandler;

@ReqMsgHandler(ModuleMsgIdConstant.Rank.RANK_WIN_GOLD_LIST)
public class ReqWinGoldRankHandler implements ReqMessageHandler {


  @Inject
  private RankMgr rankMgr;

  @Override
  public ResMessage action(Player player, ReqMessage message) {
    // ReqRankMsg msg = (ReqRankMsg) message;
    return rankMgr.winGoldRankList(player);
  }
}
